home *** CD-ROM | disk | FTP | other *** search
- CFLAGS= -c -I. -Gsw -AS
- DFLAGS=
- LFLAGS = /map/nod/noe /al:16
-
- !IFDEF DEBUG
- CFLAGS=$(CFLAGS) -Gs -Zi
- DFLAGS=$(DFLAGS) -DDEBUG
- LFLAGS=$(LFLAGS) /co
- !ENDIF
-
- goal: sample3d.exe
-
- sample3d.obj: sample3d.c
- cl $(CFLAGS) $(DFLAGS) sample3d.c
-
- sample3d.res : sample3d.rc ctls.dlg
- rc -r $(DFLAGS) sample3d.rc
-
-
- sample3d.exe : sample3d.res sample3d.obj sample3d.def ctl3d.lib
- link $(LFLAGS) sample3d,sample3d,sample3d,libw slibcew ctl3d commdlg,sample3d.def
- rc $(DFLAGS) sample3d.res
- mapsym sample3d.map
-
- # next to godliness
- clean:
- -del *.obj
- -del *.res
- -del sample3d.exe
- -del *.map
- -del *.sym
-